package com.wedu.service;

import com.wedu.entity.Student;

//业务处理层BLL
public interface StudentService {

    //用户登录
    boolean loginStu(String name,String password);

    //用户注册
    boolean register(String name,String sex,int age,String password);

    //根据id查找学生
    Student findOneById(int id);

    //根据id删除学生
    Student deleteStu(int id);

    //根据id修改学生
    Student updateMsg(int id,String name,int age,String sex,String password);

    int inputNumber();
}
